package com.yifeng.repo.controller.traffic;

import com.yifeng.repo.controller.traffic.model.ChannelGoodsStockDetailForm;
import com.yifeng.repo.controller.traffic.model.PlatformEnum;

import java.util.List;

/**
 * Created by daibing on 2019/1/18.
 */
public interface EndpointService {

    void pushStock(String batchNo, PlatformEnum platform, String platformAccountCode, String platformStoreCode, String goodsCode, int price);

    void pushStock(ChannelGoodsStockDetailForm goodsStockDetail);

    void pushStock(List<ChannelGoodsStockDetailForm> goodsStockDetails);

    String pushGoods(String batchNo, PlatformEnum platform, String platformAccountCode, String platformStoreCode, String goodsCode, int price);

    void pushStock(String batchNo, PlatformEnum platform, String platformAccountCode, String platformStoreCode, List<ChannelGoodsStockDetailForm> forms);

}
